enum RequestId {
  REQ_NULL,
  REQ_POLL,
  REQ_GET_VERSIONS,
  REQ_SET_ADJS,
  REQ_RUN_COMPONENT_TEST,
  REQ_DEPLOY,
  REQ_GET_COMPONENT_STATUS,
  REQ_INIT,
  REQ_GET_SENSOR_VALUE,
  REQ_COMMAND,
  REQ_UPDATE_STOCK,
  REQ_CONTROL,
  REQ_ABORT,
  REQ_SENSOR,
  REQ_RESUME,
}

class RequestBean {
  final int boardId;
  final RequestId requestId;
  final int dataLength;
  final List<int> data;

  RequestBean(this.boardId, this.requestId, this.dataLength, this.data);
}
